Make building tests optional