Fixed asm.js Makefile to compile with common libs.