Fix warning about unused linker flags