fix for postgres issues

This should fix the following errors with installdb if using postgres.

DBD::Pg::db do failed: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT:  Use the same encoding as in the template database, or use template0 as template. at ../lib/DBUTIL.pm line 361.

and

DBD::Pg::db do failed: ERROR:  null value in column "use_network_broadcast" violates not-null constraint at ../lib/DBUTIL.pm line 589, <DEFAULT> line 320.