separating build dir to centos and ubuntu