Fixed SP compiling for Mac (and hopefully Linux too). Fixes #240.
Fixed missing } in SP rd-vanilla CMakeLists.txt.
Temporary fix for Windows compilation. Sorry x1000 for hacky fix in
CL_InitRef.
Merge pull request #242 from xycaleth/master

Fixed compilation of SP on Mac (and hopefully Linux too)