adding missing crt externs