Deal with non-executable memory on Darwin (only an issue on Darwin/x86 so far)