build for debug and dll version