ImageLoader works with openfl html target

Conditional compilation flags were incorrect when compiling for the HTML target in Openfl.