hatchet job to make it compile + link on Linux