fix cleanhdl when component library has never been build"