Fixed linking on Ubuntu 14.04/NVidia