Some cleanup for splitter.
Improve ability to compile under Linux. Don't require static libraries.