Added legend for scalability plots
Disabled static linking because of building problems