Add configure script

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #9 from jonludlam/configure

Add configure script