fixed include guards
fixed compile flags for debug build