conditionally install `lib` directory -- make this formula copyable