Fix build on mac.

Also, why is this even necessary? Make is weird.