Fix out-of-tree builds with --enable-hardcoded-tables