added fPIC autodetection
upgraded libsphinx version to 2.1.6
php 5.4+ compatibility