Add utility function to get a key from rcl object.
Improve compiler flags handling.