Change type of project to support export to dll
part of previous commit