Fix extension for Haxe