Fixed compile error on appengine.