improved build system, now allows to build debug and release configurations at the same time