Fix setup.py and change required Flask version