hlib: add make_fragment and macro_remove
hlib: fix definition of hlib.DepType to get a correct mask