Update codebase.h

Fix FMAX/FMIN error on VS2013
Merge pull request #292 from roberthauck/master

Update codebase.h