win32: build fix
extension system works on r2