Fix compilation error during package build