added conditional for winarm compiles