Fix order of dependencies

This ensures all binary files are rebuilt when the header changes.