Solved.
As it turned out, the installation seems to have placed the needed files inside /usr/lib64
, and the linker searched for those files inside /usr/lib/
which probably is the right behavior in most cases.
Since i'm not familiar with node.js's npm (and with linking in general), my fix was as follows:
sudo cp /usr/lib64/libGLEW* /usr/lib/
sudo cp /usr/lib64/pkgconfig/* /usr/lib/pkgconfig/
Meaning, I reconstructed the same hirarchy inside the /usr/lib
folder. This is probably not a best practice, but it works.