Change how feature defines are stored to make them easier to maintain (if more verbose).
Fix compilation on Mono.

This involved disabling building a test file that crashed Mono's
ilasm.