adding workaround to deal with SAPI paths on CentOS