Fix gcc warnings and build error with gl2ps

Change-Id: Ica5231c349f09dc451a068b6c12959bbda944310
Merge topic 'dashboard_fixed' into master

39947157 Fix gcc warnings and build error with gl2ps