Fixes error: 'unknown type name FILE'

Issue: #45
make it compile
enabled c++11
fx
demo