Fix for Google App Engine enviroment