system-wide hourglass support in a dynamic library