Generic configure script for linux