Only compile extensions when MRI version is 1.9.x

All the other implementations don't use extensions

Fixes #35