cleaned the memcmp call which isn't working with current haxe version, and go back with strcmp