added support for shared_content_dir which allows the package soruces to provide a shared content dir