Add a builddir option.
Add option to build in debug/release mode.