Fixed non-debug builds not compiling