Except they did know, ships had round ones
And the potential problems regarding alloy fatigue were well understood...
And the best castles have rounded corners, not square edges.
Well that was more to make them resistant to undermining (As were Moats)
Once Guns became the thing (and particularly cannon) star layouts became more common.