Fixes a not-supported problem with Mono