Fix appengine support