Add error trace to HaxeLibInfo build macro