You should tag ways in order to make them valid features in OSM, here i.e. building=yes. Better still just use the building_tools plugin in JOSM https://wiki.openstreetmap.org/wiki/JOSM/Plugins/BuildingsTools