[ALOY-1054] resolve compile errors on OS X