Added configure support [Closes #6]