Fixed name of variable, added dependencies to build package.