use pure erlang function to judge the erlang version, no shell.
Merge pull request #2530 from qingliangcn/master

use pure erlang function to judge the erlang version, no shell.