cmake for release libs fixed