Only necessary libraries are linked to the compiled program