corrected some gcc-related build problems