Fixes for darwin in the auto-config and auto-make files.
Working out why OS X optimizes out the constructor when static linking.