Fixed TVHeadend building, only do it if necessary, same for ONDD