Fix zend-library and zend-extra

Presently, the library and extra location rules are incorrectly installing all package files in library/ and extras/library/, respectively, instead of placing them in the correct named directories.