Conditional package definition to avoid multiple declaration