updated building.md for cmake