Updated to compile/run on RHEL5 (2.6.18 kernel)