Avoid the locale error on PostgreSQL installation

ref. http://stackoverflow.com/questions/17399622/postgresql-9-2-installation-on-ubuntu-12-04/20137471#20137471