configure.sh get working for ubuntu 14.04