Finish making the module compile

Tests still fail, and we're using a hacky method to load the .so at
runtime, but she compiles now.