Update main.cu

Added const in computeHistogram declaration for consistency and added conditionals to be able to run it on Windows and/or Linux.
Merge pull request #7 from macias/patch-1

Update main.cu