should the common compile be in an else clause? Or is there a reason to compile the app's require target and common's require target?