Do not try to monkey patch the mysql adapter on heroku

Should fix #667