if --enable-debug is not set this script now sets build-type to release