Fixed compile error from previous commit

-Issues compiling with MinGW32 and Linux gcc because of missing const