Use std::size_t instead of c size_t
Parametrize Makefile for different sm architectures