"mkdir -p $prefix"

This way if the prefix doesn't exist then I'll have it installed.