add build for mips, enable java