Make lib output directories if needed