fixes for Windows/ARM