Adding gcc check instead of just make