[COMMON][Agar] Start to apply to libAgar.
[Build][CMAKE] commonconfig: more fitting.