fixing paths of the recently added share/template and share/resource directories when share/ is located under stratuslab base package.