Fix warnings; exclude examples from build