Explicitly declare build and stage directories and store in variables