Fixed name of variable.
Added dependencies to build package.