tried to make it work on Windows; build not working yet; MacOS build might be broken