Properly configured library link order