Added additional "code" build target to facilitate IDE integration.
Added missing initialization of member variable.