Fix an issue where gcc was asked to compile a device entry point.
Fix an issue where gcc was asked to compile a device entry point.

h1arshad/thrust,levendlee/thrust,lishi0927/thrust,google-code-export/thrust,levendlee/thrust,malenie/thrust,allendaicool/thrust,UIKit0/thrust,julianromera/thrust,hemmingway/thrust,h1arshad/thrust,rdmenezes/thrust,rdmenezes/thrust,levendlee/thrust,julianromera/thrust,allendaicool/thrust,julianromera/thrust,rdmenezes/thrust,google-code-export/thrust,lishi0927/thrust,hemmingway/thrust,malenie/thrust,google-code-export/thrust,bfurtaw/thrust,levendlee/thrust,lishi0927/thrust,rdmenezes/thrust,allendaicool/thrust,google-code-export/thrust,hemmingway/thrust,Vishwa07/thrust,malenie/thrust,bfurtaw/thrust,Vishwa07/thrust,Vishwa07/thrust,hemmingway/thrust,UIKit0/thrust,UIKit0/thrust,Vishwa07/thrust,bfurtaw/thrust,UIKit0/thrust,bfurtaw/thrust,lishi0927/thrust,malenie/thrust,h1arshad/thrust,julianromera/thrust,h1arshad/thrust,allendaicool/thrust