Fix asset path combine
add haxeflags to templates context