fix dynamic import in python 2.6

closes #18