remove debug line
Add phocoa detection and document assumptions.