fix build with clang (and probably break it on windows)

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>