Refactoring and fixing build errors.
Remove loading of LibG from DynamoInventor.