improve the build system in order to compile spec files with parallel