Compiling against a library: add get_version