More bugfixing. A bunch of libraries build. Trying to build stage2.