Detect missing QTC_SOURCE and QTC_BUILD env. variables needed for the build.