Use Dl.dlopen and foreign ~from to load the symbols

Otherwise it works (possibly by accident) on CentOS 6 but fails on
Ubuntu 14.04

Signed-off-by: David Scott <dave.scott@citrix.com>