Switch (almost) everything over to LibraryMake

The .pm file itself needs to be changed yet, but I may wait for a
NativeCall patch first.