Fix export default functions and classes being parsed as expressions instead of declarations