If they were old, mature hardwoods, I'd move the building before cutting them down.
But in your scenario, I'd get rid of them, they are only pine trees. 5' is way too close to even consider leaving them and they are all but guaranteed to die after the construction.