Weird compiler issues

Try creating a debug build, so we may get more infos from the callstack.