some compiler flags magic