fixing compiler/linker settings