You really will need to add lib
to your path, either using site.addsitedir or manipulating sys.path. However don't do it in main.py but put all path and other global additions in appengine_config.py which is loaded before any of your code is run.
See https://developers.google.com/appengine/docs/python/tools/appengineconfig