Added sanities for finding binaries.
made rpm build safer