DF-291 fixed compilation for MacOS