Add RootCore compilation support