c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot open output file test.exe: Permission denied collect2.exe: error: ld returned 1 exit status