Fixed postinstall errors, and symlink error.