Fix for build under Mono on Unix