Add cmake rules for building LSan common on Mac OS