Fix init compatibility with Windows backend