Update Travis build, add macro to fix compile for Haxe tools