patch to allow apc to be installed via command line