Updated LoadLibraries function to include required library rlecuyer