Fix the configure system to add Release/Demo/Debug builds