math library linkage set to private