Fix waf configuration error when no JUNIT_PATH is specified.