OpenFL compilation support

I've modified the imports so it can be compiled with OpenFL.