fix linker and version