Added option to allow for debug build.