Added configure options to simplify cross-compilation.