Fix compilation error with CEW enabled

For some reason it compiled fine on the desktop but
compilation on laptop requires explicit linking against
dl library.