initial configure script checking build dependencies