Allow libgc to instrument pthread_create
Add --disable-python-extension back to permit building with --disable-shared