Made COFF compile only under Windows
Almost done porting elf stuffs