Fixed Player::hasWon returning nothing.
Fixed out of bound assigns in GameMap::setBarrelPosition, GameMap::setLightPosition.
Do not hard-code the cxx11 flag as it can be different on gcc/clang/msvc
Added dependencies checking
Do not hard-code ./data: added -datadir option to specify resources dir.