make hotpatcher and tests optional