make asm.js compilation check case-agnostic