[[ Bug 12078 ]] Fixes compilation issue on Mac