Fixed python3.0 compatibility.

Relative imports will only work with python2.6- and python3.x.