Energy efficient heat pipe heat exchanger for waste heat recovery in buildings