fixed prototype for packaging on Solaris
buildlocal on Solaris now terminates on packaging errors