Add patch to fix linking issue on mavericks