More build-time hackery to try to get well-defined library locations.