Fix build of RESt plugin

Change-Id: Ia2441d5093468c9b0bfb72bc229aff68f99b4316