Clean up rc files to work with Linux