fix compilation for 2.6 by moving flags to re.compile
bump version number