Cleanup extra_flags
Improve compatibility with Arduino bundled libs