Fix executed file protection in RUN_IN_PLACE builds