The potential cause for this is that the original library was already "pre-compiled" once and since you removed the library no code changes will ever be detected there to render these pre-compiled binaries to become invalid and the linker obviously picks the old binaries over the new ones (located in some other sub-path of the project).
Two work-arnounds:
- change the name of the header file and include that instead
- create a new project which never imported the online library (e.g. via tha SHARE THIS REVISION feature)
Do you need the cloud connection to go via Ethernet or just TCP/UDP traffic?
If the latter you could use an Ethernet add-on - like in this project