Skipping rex test if the package is not available
Replacing ore() body with new C code