update how default build type is set, fixes #60