Remove defs option from NanoPB
Give the build path to protoc