Fix Phi compilation errors; add m4 script to detect quadruple precision support.