Remove garbage from the end of builddir path

Fixes #23.