Fixed Mono compatibility issue.