fix linker flags position