gitignore the *.mo
module: only build when '--app' option is given

Do nothing if '--app' is not defined. This will make `scons -h` happy.