Need to wrap these lines in windows-only #ifdefs