All I can tell you is that with the same configuration I have no error.
Please do this:
- File > Preferences > Show verbose output during: > compilation (check) > OK
- Sketch > Verify/Compile
- After the compilation fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
- Paste the error messages in a reply here.