Fixed building of examples on linux.