Fixed bug where debug and release libs would have the same file path.

This broke make when switching between debug and release configs.