You could (or should, overwriting/changing Native isn't smart) of course set the Module System to write to a different location.
The write path can be found in module_info.py.
If you want to write to let's say 'MyMod', you'll need to copy the Native folder in 'Modules', name the folder 'MyMod' and then test a compile.