Support HEAD build