check if rpmbuild exists before building