This properly links dylibs set during build instead of expecting the libraries to be in the system path.