Fixes compilation issue with Mac