Make the library compile against base-4.7.
Merge pull request #40 from 23Skidoo/base-4.7

Make the library compile with base-4.7.