Changed compilation logic of function definitions to result in its
behavior.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>