Separating into PCL libraries plus minimal platform specific libs.  Needs further work.