Make the Flask app more portable to different OSes.