Fixing libraries inclusions from base profile