Move libtool options to configure script in order to allow per system settings

Moved libtool options out of the makefile into configure, added some explanation on the libtool library version numbers, made sure -no-undefined is set only for Win32.