Rename _display to haxe-flags and make it public.
Add platform option to haxe-flags.

Will use default_platform if omitted.