Update waf to 1.7.9, fix magic project up for protobuf