Improvements and corrections in CMake files (checked on Ubuntu now). Support for building osmjs.
Correct paths in test.sh scripts