Added debug flags to build