misc: Fix inlining errors when compiling with GCC 4.7