adding build and packaging functions for SunOS