Pretty sure AMD's GLSL compiler will complain if you put 'f' at the end of float literals (because its not valid GLSL).
GLSL Version 1.3 supports f postfix.
Nevertheless, I would first check the following:
1. Driver ! Has your friend installed the newest driver. Many bugs and glitches I encountered on other PCs were solved by installing a new driver.
2. Hybrid GPU: double check if your friend is not using an integrated GPU. Automatic detection of using the dedicated GPU does not work very good with OpenGL.
3. Maybe it is not the shader which breaks the application, it could be any OGL related feature. Check the OGL error state frequently in your code (use defines or whatever to turn it off in release mode, otherwise it could kill your performance).