MAID-325: Fixed OSX build failure.