improved build.sh and add CMakeList for utilities