fix build scripts to build persona-server.rpm and work on centos 7

rpm built with these changes is currently deployed in stage (anosrep.org)