compile pkg in prod mode

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>