fix the build for windows

This corrects where I left an un-used method in a class which breaks linkage only on windows.