#45: Fix minor compile errors in Windows