Force file type recognition to C

To workaround the fact that we have to change the .m
extension and build it with monodevelop in OS X
Move data dir configuration to the init function