build: Properly remove enum types

parent d9199269
Pipeline #179555 passed with stages
in 13 minutes and 10 seconds