fixes #987 - migration fails when using postgres after #820
Fixes #820 - Intel Solaris support
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>