added suport for 'make distcheck' target using no GNU make extentions at all