HPCC-12029 Optimize crc_file, updated to fix Centos 5.7 and OSX build errors

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>