Reworked build system to support profiles and include everything needed for build.
Removed warnings from tests.