make protobuf target now works on os-x and linux
clang complains about register depreciation