add VS defines in the code for arm