Use cc_binary includes so examples build as external repo

When the examples are built from an external repo, the -I flag doesn't
point anywhere useful.  Bazel has an includes option to handle this, so
just use that instead.

Change-Id: Ic768bd60c547948959912193765d4097ec0adf8c
diff --git a/examples/BUILD b/examples/BUILD
index 90daf21..04bf5c6 100644
--- a/examples/BUILD
+++ b/examples/BUILD
@@ -74,8 +74,6 @@
     deps = EXAMPLE_DEPS,
 )
 
-SLAM_COPTS = EXAMPLE_COPTS + ["-Iexamples/slam"]
-
 cc_binary(
     name = "pose_graph_2d",
     srcs = [
@@ -86,7 +84,8 @@
         "slam/pose_graph_2d/pose_graph_2d_error_term.h",
         "slam/pose_graph_2d/types.h",
     ],
-    copts = SLAM_COPTS,
+    copts = EXAMPLE_COPTS,
+    includes = ["slam"],
     deps = EXAMPLE_DEPS,
 )
 
@@ -98,7 +97,8 @@
         "slam/pose_graph_3d/pose_graph_3d_error_term.h",
         "slam/pose_graph_3d/types.h",
     ],
-    copts = SLAM_COPTS,
+    copts = EXAMPLE_COPTS,
+    includes = ["slam"],
     deps = EXAMPLE_DEPS,
 )