remove strange library removal

Change-Id: I49211946dc68b4ced4600e567ec9ceed5986ad92
Reviewed-by: Ivan Vizir <define-true-false@yandex.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
use private linkage where possible

Change-Id: Iaf326a51e93ec334c02de07d8cd254998e73ce46
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>