IDE-993: Making macosx-dependencies optional