See that is ridiculous - why have they attacked that building? It isn't anything to do with the no-fly zone or preventing attacks on civilians which is the only mandate the coalition have got.
They will have intel on the purpose of that building and will have deemed it a viable target, because we don't have access to that intel or whether or not that intel was accurate is immaterial, it is fine under the UN resolution.