main:Add support for make 4.0