Fix compiling using make

Using

    mkdir build
    cd build
    cmake ..
    make
on *NIX systems will now compile without any complaints.