Fix locale matcher.
Remove mcrypt dependency as it's nothing but headaches for me since composer rolls back to lastest version without this requirement.
Check mcrypt programatically.