moar things

Thought it would be good to break prefix_dir out into its own attribute, rather than make clients implement (and duplicate) the logic in recipes.