Fixed problems preventing 0.7.0.rc2 C extensions from building on some platforms.