fix opts.watch in configure (fixes #147)