Merge pull request #2 from unix1/master

fix configure and make issues against php 5.4