fixed shared building options for all deps