Fixed some configure issues, reduced library linkage, adding required versions...