OMakeroot file generation fix