Make c_rehash more platform neutral and make it work in mixed environment,