Compatibility for pre-Vista win32