Removed conditional SWIG compile and polished PHP API