Add support for Mac and Linux
Casting param type