Remove build deps from managed and embedded containers