implements build action (compile)