Some changes to build without SDL and CUDA.

Please test building whit CUDA, because I don`t have NVIDIA card and nvcc compiler.
You can specify site specific -L directory like this

    LDFLAGS='-L/usr/local/cuda/lib64' make
or

    export LDFLAGS='-L/usr/local/cuda/lib64'
    make