Found it:
allegro4 is now my least favorite media library. :(Code:
#define LONG_LONG __int64
// MSVC now has these built in
#if _MSC_VER < 1900
#define int64_t signed __int64
#define uint64_t unsigned __int64
#endif
Still get the LINK : fatal error LNK1104: cannot open file 'legacy_stdio_definition error
[EDIT] Fixed it.
[EDIT2] Okay, cmake should build on older MSVC conpilers up to 2013 now. :)