apps compilation/linkage fixed