Moved all version strings to config.h
Build dpshared as a static library
Added missing return statement