[packaging] add debug packages and use lto