Fix Makefile.gbase

Missing #endif for amd64.