Fix config file for application module. Modify makefile.