compile package