Fix a few bugs with how the paths were build for min