TS-2207: stop using $(builddir) in automake

Older automake (< 1.9?) doesn't emit $(builddir), but it's always
"." anyway, so let's use that instead.