Only import App Engine dependencies in the Python 2.7 environment