Fixing linker flags