fix compile error on macOS Mojave
2 files changed