Make sure that Python 2.7 is used when installing Python modules

Fix for issue #146.