Ported over to the latest incoming. Removed deprecated extern module names.
Merge pull request #36 from sstewartgallus/master

Port over to the latest incoming
Selectively remove functions that don't link on OS 10.6.
Merge pull request #37 from pcwalton/snow-leopard

Selectively remove functions that don't link on OS 10.6.