build ok for system dir

Signed-off-by: kevinhuhui <huhuikevin@gmail.com>