let configure.sh work for solaris (with gsed)