Changes to make decoding-queue branch compile/link on Windows