diff --git a/CMakeLists.txt b/CMakeLists.txt
index 574e31f..0405a78 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
 set(CMAKE_AUTOMOC ON)
 set(CMAKE_INCLUDE_CURRENT_DIR ON)
 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
+set(CMAKE_LIBRARY_PATH "" CACHE FILEPATH "Additional directories to search for libraries")
 
 set(QTGSTREAMER_VERSION 1.2.0)
 
diff --git a/elements/gstqtvideosink/gstqtglvideosinkbase.cpp b/elements/gstqtvideosink/gstqtglvideosinkbase.cpp
index 6849b13..d7a3aee 100644
--- a/elements/gstqtvideosink/gstqtglvideosinkbase.cpp
+++ b/elements/gstqtvideosink/gstqtglvideosinkbase.cpp
@@ -122,13 +122,13 @@ void GstQtGLVideoSinkBase::finalize(GObject *object)
 //------------------------------
 
 
-void GstQtGLVideoSinkBase::colorbalance_init(GstColorBalanceInterface *interface, gpointer data)
+void GstQtGLVideoSinkBase::colorbalance_init(GstColorBalanceInterface *iface, gpointer data)
 {
     Q_UNUSED(data);
-    interface->list_channels = GstQtGLVideoSinkBase::colorbalance_list_channels;
-    interface->set_value = GstQtGLVideoSinkBase::colorbalance_set_value;
-    interface->get_value = GstQtGLVideoSinkBase::colorbalance_get_value;
-    interface->get_balance_type = GstQtGLVideoSinkBase::colorbalance_get_balance_type;
+    iface->list_channels = GstQtGLVideoSinkBase::colorbalance_list_channels;
+    iface->set_value = GstQtGLVideoSinkBase::colorbalance_set_value;
+    iface->get_value = GstQtGLVideoSinkBase::colorbalance_get_value;
+    iface->get_balance_type = GstQtGLVideoSinkBase::colorbalance_get_balance_type;
 }
 
 const GList *GstQtGLVideoSinkBase::colorbalance_list_channels(GstColorBalance *balance)
diff --git a/elements/gstqtvideosink/gstqtglvideosinkbase.h b/elements/gstqtvideosink/gstqtglvideosinkbase.h
index 5cf3381..ae97875 100644
--- a/elements/gstqtvideosink/gstqtglvideosinkbase.h
+++ b/elements/gstqtvideosink/gstqtglvideosinkbase.h
@@ -61,7 +61,7 @@ private:
     static void init(GTypeInstance *instance, gpointer g_class);
     static void finalize(GObject *object);
 
-    static void colorbalance_init(GstColorBalanceInterface *interface, gpointer data);
+    static void colorbalance_init(GstColorBalanceInterface *iface, gpointer data);
     static const GList *colorbalance_list_channels(GstColorBalance *balance);
     static void colorbalance_set_value(GstColorBalance *balance,
                                        GstColorBalanceChannel *channel,
diff --git a/src/QGst/CMakeLists.txt b/src/QGst/CMakeLists.txt
index b780fb8..e2976d0 100644
--- a/src/QGst/CMakeLists.txt
+++ b/src/QGst/CMakeLists.txt
@@ -88,7 +88,7 @@ set(QtGStreamer_INSTALLED_HEADERS
     buffer.h            Buffer
     sample.h            Sample
     allocator.h         Allocator
-    memory.h            Memory
+    memory.h
     event.h             Event
     clocktime.h         ClockTime
     taglist.h           TagList
diff --git a/src/QGst/Memory b/src/QGst/Memory
deleted file mode 100644
index 8c5815e..0000000
--- a/src/QGst/Memory
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "memory.h"
-