make spoj tool work in linux