add configure for build and instal