Build fix: .cmxs compilation

Build system fix: native plugin compilation.
The produced .cmxs files work great for my purposes.