Fixed the configure script in order not to depend on GNU make.
Added some fixes for 5-CURRENT (because of the changed behaviour of
'expr'). Lots of thanks to the following people for their help:
Munish Chopra <firstname.lastname@example.org>
Valentin A. Alekseev <email@example.com>