Import build products.
Rename some variables in the Makefile that inadvertently clashed with names used by configure.