Update makefile/configure script to support configure-style options.
This is useful for cross-compilation, different install dirs, etc.