Fix and update Cmake build.
Update config.pl
Merge branch 'master' of https://github.com/rathena/rathena