Fix uwsgi support

This is https://github.com/crowbar/barclamp-swift/pull/163 for roxy.