Fix debug flags and add buildpkg feature