Removed bash wrapping for windows from build scripts.  Updated configure controller, bugs in main.cxx.