add more defination to fix build errors

Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com>