If you just want to generate perlin noise make your own implementation in Lite-C:

http://www.programmersheaven.com/2/perlin

The contents of fx files can be included in your .c files, I think, this isn't the point, isn't it?