Fixed emk build issue.
Fixed integer overflow when you use a very small scalar in point multiplication.