build: fixed build error because of unnecessary namespace in defs.h