Made compatible with Windows platforms