fix ncc build