Fix package building error