Problems with position dependant code added -fPIC to CMakeLists.txt files