adding missing includes

The TestCpp sample project fails to compile. This commit adds the
missing includes for it (pthread and GL)

Signed-off-by: Rodrigo Goncalves de Oliveira <rodrigo.goncalves@openbossa.org>