Avoid use gmake only syntax
Fix compile error