Added initialisation to m_buildType.
Updated code to match current coding style of project.