changes to allow for 4.1 compatibility
I take it Pavel prefers spaces, not tabs
Merge pull request #2 from TippingCanoe/master

Adding 4.1 compatibility