[#858] Cleaned up warnings on centOS5