fix syntax errors in configure script