configure script for Linux/OSX/BSD
timeout mechanism was simplified (finally)