autotools: Add autotools support for cross-compilation

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>