Composer and APC bugs

2 fixes
- Bad paths resulting in failure in composer
- Segfaulting error with APC (yes this is an APC bug, however the fix is easy)