fixed gcc building for x86_64