disable aborting on windows as it sometimes locks the program
fix signed comparison to work on x86 as well as arm