Remove mega.js
Check for GNU MP in configure, fix potential build issue