various fixes for scientific linux 6