Revert "Copy platform.hpp into src directory in cmake build."

This reverts commit 11b699e73cbda47ff450554ebca2385d20a0b75a.