Disable Mono on all but .NET 4, as the others are broken.
added support for struct format strings of type bytes

(cherry picked from commit 3747d338239a7dd9a2860fb4506e8de51524fa08)