Merge "Add support to build on the macOS platform" into devel/master