more BSD packaging fixing
..
small cleanup buildlocal.sh fix for rhel5
Merge branch 'master' into DBPreparedStmts