It sounds pretty hard to do, but casually smile at him when you think he's looking. Or pretend you thought that he was one of your friends and start talking to him. Boys are tricky and I know you don't want to seem like a total goof. But stuff happens. Make an impression. Say hi. Gain courage.