Build process and handle RGroups in Mode stat

Current master branch RGroups is not properly working on RMode stat, here is a fix to handle this is the same way for Mode config.

This also bring a new and simple build process using make and pkg-config instead of axps