A compound or mixture containing spirits of turpentine or rosin, or both, with other drugs, when sold for medicinal purposes, is not subject to the provisions of the Naval Stores Act or of the provisions in this part.