auto modify grunt file with target platform