fixed packaging error
added changes for multiplatform support