Linker Errors after upgrading from PIO2 to PIO3

See answer for the same issue