Correctly set the headers and libraries(and corresponding dirs) when compiling ops.
Add assert in make_node to raise the error earlier.
remove code line not used.
Fix compilation crash as the compiledir/subdir was deleted.
Merge pull request #152 from nouiz/mixed

Fix crash and make the MaxPool[Grad] op compiled better done.