fix make check during package build
more make check packaging fixes