Fixed failures in Python 3.3 due to absolute imports

Just checking that this passes on Travis before merging into master.