Version bump to v1.2.0 and fix for incorrect ordering of used libs.