Fix cmake poller selection
Fix unused argument warnings
Fix -Wmissing-field-initializers