Use mysql2 as adapter if mysql2 in Gemfile.lock
Fix compile script