fixed: ERT depends on libdl

this issue was triggered with static libs for ERT
ERT: link to the threads library of the OS

this is required to make the opm-core build succeed if ERT was build
with -DBUILD_SHARED_LIBS=OFF . (without it, I get errors like

    /home/and/src/ert/devel/libert_util/src/thread_pool_posix.c:328: error: undefined reference to 'pthread_create'
Merge pull request #273 from andlaus/allow_static_ERT

Allow static ert