Bangladesh fire officials say a five-story building has collapsed in the capital of Dhaka , killing at least 20 people .