You actually just need to do that for libglfw3 if your distro doesn't package glfw 3+ (like Ubuntu).