Fix issue with partial builds forcing a port clean.