add configure script for travis