Fix server flags on $ libs