Sloeber - eclipse oxygen - automatically including all folders in compilation

Hi,

I've just downloaded eclipse oxygen and added the latest Sloeber plugin.

tried a basic blink sketch to test build/program and all worked fine,

then tried adding a library (RF24) however thats when i ran into issues.

it added lots of folders which includes headers etc for different platforms.

i expected that only the necessary headers to be included during compilation however it appears to try and resolve all the headers which ends up with the build failing.

i was able to manually remove these extra unnecessary folders and eventually program built however it was a bit of trial & error.

Is there a configuration setting so that eclipse/sloeber automatically includes only the necessary headers

Thanks

Andy

(deleted)