add checks for gcc