- rework a port a little bit to be sync in the openoffice linux
code and remove some hacks that we don't need anymore
- also use --as-needed while linking (which results in at least a 50% speed
improovement)
- depend on more libraries from the system instead of using the internal
ones