Build system

1. Generation of .inc files moved to cmake. Generated files were removed. #26
2. I had troubles with non-installed SDL2 and added it as requirement for building of tests. Variable for opengl and glu libs were updated too.