fix check for rpmbuild