make it build on Ubuntu
use case to switch between Linux and Mac OS (tested only on Linux)