fixed another bug in gcc build for x86_64