Fix Build Bug on MainProcess