Makes work on Mono hopefully