Added base_package support for different OS.