Fix build failure.
Fix pathes to datarootdir. Should be #{share}/#{target}.
Move *-lib to *.