fixed building various packages