Do not use deprecated compiler module

At least in Python versions >= 2.6, fixes #115