Fix check of atl parameters before compile.