fixed compilation issue with MAX_HOST_LEN, renameat2 has issues on corn