Merge pull request #3 from jerry9032/master

Compatible with homebrew-installed libelf
Fix coredump when syntax error in phplib