compile fix for openfl