Fixing load order in linux