Get build tools paths in configure rather than in Makefile