Tidy up configure script

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>