src: fix build

We need to build the enum types headers first.
Properly clean up built enum files on make clean