Moves common vars into cmake/variables.cmake

Issue: #50
Moves the generation of uninstall.cmake into build dir

Issue: #50
Fixes -Wall -Wextra warnings

Issue: #50