set compiler for either apt-get or yum