Fix for unclosed conditional compilation causing an exception.