Fix escape symbols in hfilter.
Rework build system.