Fix a dependency on APC