Fix build for mono