Make the dependency in hrp2 optional.