compile uwsgi only if necessary