--- plugins/power/meson.build
+++ plugins/power/meson.build
@@ -55,8 +55,9 @@ gsd_power_enums_update = executable(
   'gsd-power-enums-update',
   sources,
   include_directories: top_inc,
-  dependencies: deps,
-  c_args: cflags
+  dependencies: [ dependency('glib-2.0', native: true), dependency('gio-2.0', native:true) ],
+  c_args: cflags,
+  native: true,
 )
 
 if enable_gudev
