Updated the build system added configure script