Fixed a bug that prevents this from running when built with some compilers.