Configured pipeline to build in release mode

Signed-off-by: Martin Evans <martindevans@gmail.com>