Fixed compilation error for Mono due to incomplete enum.