fixed mandelbrot demo for compiling