linux cmake fixes