do not mprotect if dynamic code generation is disabled