Surrounded progressbar c binding code with #ifdef __linux__