Fix compilation for monolythic library build (including libdom, libsvgtiny, libparserutils and libwapcaplet in one lib)