The autohell hack sucks and should be fixed, but I was unable to find the magic trick to prevent automake from building broken libtool rules which produce warnings about portability :-/.