Shouldn't there be a 

    #if defined(USE_GLES2) || defined(USE_OPENGL_SHADERS)