Add profile.c to src/ and build it.

This keeps the Julia code in a package, until Windows support is ready.