Using this find script without libdl caused undefined dlxxx errors on Ubuntu 12.04