small fixes for installing dependancies for rpm building