Compile the macros separately from the functions.
Compile the functions before the macros.
Merge pull request #20 from klutometis/master

Compile the functions before the macro.