Add changes needed on Mac OSX. To be able to use the G4 Python interface on OSX, the G4 libs need to end on .so and not .dylib. Fixes #40.