gsp_slave: Fix compilation problems