Changed build type to lib from exe