Fixed compilation on Linux

Now compiles on Ubuntu 12.04. Getting about 840 khash/s on a GTX460.