added new cmake flag (COMPILE_ONLY_LIBBATCH) to allow building only dynamic library for the TMS's underlying batch scheduler
now COMPILE_ONLY_LIBBATCH disable the compilation of unrequired lib.
 * Only the TMS posix and, possibly, the selected target batch scheduler dynamic libraries are compiled
removed unrequired dependencies on TMS posix