fix issue with rpm build failure due to scripts dir not set properly.