Fixes broken mac build due to missused GP_WARNING