Fix pecl-ingres so it compiles against PHP 5.4
Fix order of libraries used for linking to Ingres