I needed this to make it compile under gentoo
Merge pull request #4 from gbin/ext

I needed this to make it compile under gentoo