fix failure to build time32 compat shims with out-of-tree builds