Added cflags and ldflags to the example.