added asm.jar to build script
fixed type incompatibility problem
minor fixes for ASM frontend