Modifications to compile on CCL.