Fixes in APC and XCache drivers and Travis build script