i'm now able to drake_debug_mex for a construct RBM model call.
drake_debug_mex links explicitly against libdl to resolve benoit's linker problem