Use SDL2 environment variable instead of SDL2DIR