diff -Nru shogun-6.1.3+1SNAPSHOT201809240101/debian/changelog shogun-6.1.3+1SNAPSHOT201809250100/debian/changelog
--- shogun-6.1.3+1SNAPSHOT201809240101/debian/changelog	2018-09-24 01:05:24.000000000 +0000
+++ shogun-6.1.3+1SNAPSHOT201809250100/debian/changelog	2018-09-25 01:32:58.000000000 +0000
@@ -1,8 +1,8 @@
-shogun (6.1.3+1SNAPSHOT201809240101-1ubuntu1ppa1~xenial) xenial; urgency=low
+shogun (6.1.3+1SNAPSHOT201809250100-1ubuntu1ppa1~xenial) xenial; urgency=low
 
   * daily deb release
 
- -- Shogun Team <shogun-team@shogun-toolbox.org>  Mon, 24 Sep 2018 01:05:24 +0000
+ -- Shogun Team <shogun-team@shogun-toolbox.org>  Tue, 25 Sep 2018 01:32:58 +0000
 
 shogun (3.2.0-7.3build4) wily; urgency=medium
 
diff -Nru shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/base/class_list.cpp.py shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/base/class_list.cpp.py
--- shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/base/class_list.cpp.py	2017-04-27 00:57:42.000000000 +0000
+++ shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/base/class_list.cpp.py	2018-09-25 00:59:58.000000000 +0000
@@ -121,7 +121,7 @@
                 while tail != shogun_dir and len(head)>0:
                     tails += [tail]
                     head, tail = os.path.split(head)
-                
+
                 # construct include path from collected tails
                 tails.reverse()
                 include = os.path.join(*([shogun_dir] + tails))
@@ -302,10 +302,13 @@
 def read_config():
     config = dict()
     for line in open('lib/config.h').readlines():
-        if line == '\n':
+        if line == '\n' or \
+           line.lstrip().startswith("/*") or \
+           line.lstrip().startswith("//"):
             continue
         l = [l.strip() for l in line.split()]
-        config[l[1]] = 1
+        if len(l) > 1:
+            config[l[1]] = 1
 
     return config
 
diff -Nru shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/CMakeLists.txt shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/CMakeLists.txt
--- shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/CMakeLists.txt	2018-09-24 01:00:03.000000000 +0000
+++ shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/CMakeLists.txt	2018-09-25 00:59:58.000000000 +0000
@@ -23,9 +23,14 @@
 OPTION(DISABLE_SSE "Disable SSE and SSE2 features.")
 OPTION(BUILD_BENCHMARKS "Build benchmarks" OFF)
 
+IF (LIB_INSTALL_DIR)
+  SET(SHOGUN_LIB_INSTALL ${LIB_INSTALL_DIR})
+ELSE()
+  SET(SHOGUN_LIB_INSTALL lib)
+ENDIF()
 set(INCLUDE_INSTALL_DIR include)
 set(THIRD_PARTY_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/third_party)
-set(SHOGUN_CLING_LIBRARY_DIR "\"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\"")
+set(SHOGUN_CLING_LIBRARY_DIR "\"${CMAKE_INSTALL_PREFIX}/${SHOGUN_LIB_INSTALL}\"")
 
 if (MSVC OR BUILD_BENCHMARKS)
   SET(LIBSHOGUN_BUILD_STATIC ON
@@ -627,12 +632,6 @@
   PATTERN "*Release*" EXCLUDE
   PATTERN ".settings" EXCLUDE)
 
-IF (LIB_INSTALL_DIR)
-  SET(SHOGUN_LIB_INSTALL ${LIB_INSTALL_DIR})
-ELSE()
-  SET(SHOGUN_LIB_INSTALL lib)
-ENDIF()
-
 # set the desidered targets to be installed
 set(INSTALL_TARGETS shogun)
 if (LIBSHOGUN_BUILD_STATIC)
diff -Nru shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/mathematics/linalg/GPUMemoryBase.h shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/mathematics/linalg/GPUMemoryBase.h
--- shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/mathematics/linalg/GPUMemoryBase.h	2017-06-26 00:57:36.000000000 +0000
+++ shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/mathematics/linalg/GPUMemoryBase.h	2018-09-25 00:59:58.000000000 +0000
@@ -45,6 +45,8 @@
 		{
 		}
 
+		virtual ~GPUMemoryBase() = default;
+
 		/** Clone GPU memory, i.e. vector or matrix
 		 *
 		 * @param gpu_ptr GPUMemoryBase structure pointer
diff -Nru shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/mathematics/linalg/LinalgBackendBase.h shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/mathematics/linalg/LinalgBackendBase.h
--- shogun-6.1.3+1SNAPSHOT201809240101/src/shogun/mathematics/linalg/LinalgBackendBase.h	2018-08-01 01:00:09.000000000 +0000
+++ shogun-6.1.3+1SNAPSHOT201809250100/src/shogun/mathematics/linalg/LinalgBackendBase.h	2018-09-25 00:59:58.000000000 +0000
@@ -53,6 +53,7 @@
 	class LinalgBackendBase
 	{
 	public:
+		virtual ~LinalgBackendBase() = default;
 #define DEFINE_FOR_ALL_PTYPE(METHODNAME, Container)                            \
 	METHODNAME(bool, Container);                                               \
 	METHODNAME(char, Container);                                               \