End of day commit. Probably doesn't work.
Added example project with library unit and child libary unit both with their own task and it compiles with Ravenscar profile.