Hash, customReplace and matching fixes for haxe3
Removed lib