specifies python version 2.7 for linking (fixes #302)