provide a temporary method to generate SecMain executable file.