fix openfl and nme builds