custom detector response fixes for windows

building on clean windows of the modules has been confirmed in 64-bit mode