add configure args and tweaks