fixing cmake and exports