Cent62issues

these are the same fixes for building on CentOS 6.2 x86_64 that have been submitted to rpm-whisper.