Added configuration options to allow building under ubuntu.