Added support for install extension dirs and files.