Set version to 1.0.1.

Fix configure setup (partly from Sylvestre Ledru).