removed submodules.
Simplified the script, made the proper interface for the setting of CMAKE_BUILD_TYPE, added options to avoid the build of some libraries (using system's versions instead (not yet fully implemented).