Work towards making plugins buildable with autotools