Fixes ES6 detection with regard to async functions