OpenFL 2.1 fixes

Hey guys,

This is a minor patch to help things compile with the OpenFL 2.1 beta code.