Index: trunk/nv/object.hh
===================================================================
--- trunk/nv/object.hh	(revision 60)
+++ trunk/nv/object.hh	(revision 61)
@@ -82,5 +82,6 @@
 		 */
 		template< typename T >
-		typename T* get_parent_as() const
+		//typename T* get_parent_as() const
+		T* get_parent_as() const
 		{
 			if ( !m_parent )
@@ -88,5 +89,5 @@
 				return nullptr;
 			}
-			return dynamic_cast<T>( m_parent )
+			return dynamic_cast<T>( m_parent );
 		}
 
Index: trunk/nv/types.hh
===================================================================
--- trunk/nv/types.hh	(revision 60)
+++ trunk/nv/types.hh	(revision 61)
@@ -361,3 +361,4 @@
 }
 
-#endif NV_TYPES_HH
+#endif
+
Index: trunk/tests/render_test/premake4.lua
===================================================================
--- trunk/tests/render_test/premake4.lua	(revision 60)
+++ trunk/tests/render_test/premake4.lua	(revision 61)
@@ -1,2 +1,12 @@
+if _ACTION == nil then
+	print "Error! You must specify target build"
+	print "Example: ./premake4 gmake"
+	print "    This will create makefiles for Linux"
+	print ""
+	print "Aborting!"
+	print ""
+	return
+end
+
 solution "nv_render_test"
 	configurations { "debug", "release" }
@@ -4,4 +14,11 @@
   	language "C++"
 	flags { "ExtraWarnings", "NoPCH" }
+
+	-- For starters, check the target build.
+	-- If this is a gmake build we must add these
+	-- flags to enable C++11 support.
+	if _ACTION == "gmake" then
+		buildoptions "-std=c++11"
+	end
 
 	configuration "debug"
