Fixing the release build so the native methods build/load properly.

Now both dev and release builds pass all tests... except for a file system test that has long been broken.