Modifications to get project compile both under host and ZeroVM.