fixed build errors + added Debug configurations