Here's a new patch which has the fixes you mentioned, except I still haven't readded the configure and test phases as I don't know how to make them work. Best regards, David