fix detection of libglew library on GNU/Linux

@cmbruns nice one-liner! Functionality confirmed on Linux.