use python-dev instead of python2.7-dev, hopefully this will select the correct version